package main

import (
	"fmt"

	"github.com/xuri/excelize/v2"
)

func main() {
	f, err := excelize.OpenFile("C:/Users/LSF/Desktop/https.xlsx")
	if err != nil {
		fmt.Println(err)
		return
	}

	defer func() {
		if err := f.Close(); err != nil {
			fmt.Println(err)
		}
	}()

	rows, err := f.GetRows("武汉政务外网")
	if err != nil {
		fmt.Println(err)
	}
	for clo, row := range rows {
		fmt.Println("行", clo)
		for li, colCel1 := range row {
			fmt.Print(li, colCel1, "\t")
		}
		fmt.Println()
	}
}
